﻿$(document).ready(function(){
var jldh=$("#jldh");
for(var i=1;i<=3;i++){
    jldh.append("<a href='javascript:;'><img class='jlImg' alt=" + i + " src='images/jlgs/" + i + ".png'/></a>");
}
jldh.children("a").click(
function(){
var val=$(this).children("img").attr("alt");
var img=$(this).children("img").attr("src");
$("#jlinfo").children("img").attr("src",img);
$("#xz").children("a").attr("href","images/jlgs/"+val+".doc");
}
);
}
);
function showjl(jl)
{
alert(jl.html());
var val=$(this).children("img").attr("alt");
var img=$(this).children("img").attr("src");
$("#jlinfo").children("img").attr("src",img);
$("#xz").children("a").attr("href","images/jlgs/"+val+".doc");
}